#!/bin/bash
# 从 mave中央仓库下载 openbeans (com.googlecode:openbeans:1.0) 安装到本地仓库
curl -o openbeans-1.0.jar https://maven.repository.redhat.com/ga/com/googlecode/openbeans/1.0/openbeans-1.0.jar || exit
mvn install:install-file -Dfile=openbeans-1.0.jar -DgroupId=com.googlecode -DartifactId=openbeans -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true
rm openbeans-1.0.jar